import request from '@/utils/request'

export function listwLabel(query) {
  return request({
    url: '/wLabel/list',
    method: 'get',
    params: query
  })
}

export function createwLabel(data) {
  return request({
    url: '/wLabel/create',
    method: 'post',
    data
  })
}

export function readwLabel(data) {
  return request({
    url: '/wLabel/get/' + data.id,
    method: 'get'
  })
}

export function updatewLabel(data) {
  return request({
    url: '/wLabel/update',
    method: 'post',
    data
  })
}

export function deletewLabel(data) {
  return request({
    url: '/wLabel/delete/' + data.id,
    method: 'delete'
  })
}
